/*
 * Copyright 2017 Baiyyy
 * @(#)IColdStorageBoxService.java
 */

package com.byyy.ccts.modules.ysjl.service;

import com.byyy.ccts.core.common.service.ICommonService;
import com.byyy.ccts.modules.ysjl.entity.YsjlBanner;
import com.byyy.ccts.modules.ysjl.entity.YsjlJielong;
import com.byyy.ccts.modules.ysjl.entity.YsjlJielongDetail;

import java.util.List;

/**
 * Created by DELL on 2018-6-13.
 */
public interface IYsjlJielongService extends ICommonService<YsjlJielong> {

    /** 查询滚动展示图 */
    List<YsjlBanner> queryBanner();

    /** 查询所有接龙 */
    List<YsjlJielong> queryJielong(String person);

    /** 查询我的接龙 */
    List<YsjlJielong> queryMyJielong(String person);

    /** 根据ID查询接龙信息 */
    YsjlJielong queryJielongById(String id);

    /** 根据接龙ID查询接龙明细信息 */
    List<YsjlJielongDetail> queryJielongDetailByPid(String pid);

    /** 接龙 */
    String jielong(String id, List<YsjlJielongDetail> ysjlJielongDetailList);

    /** 发布接龙 */
    String fabuJielong(YsjlJielong ysjlJielong);
}
